//
//  SDWeatherDTO.h
//  SuperDoctor
//
//  Created by 李忠 on 7/6/16.
//  Copyright © 2016 SD. All rights reserved.
//

#import <Foundation/Foundation.h>

@class SDWeatherModel;
typedef void(^SuccessBlock)(NSArray<SDWeatherModel *> *array);
typedef void(^ErrorBlock)(NSError *error);

@interface SDWeatherModel : NSObject

@property (nonatomic, copy) NSString *nightPictureUrl;
@property (nonatomic, copy) NSString *weather;
@property (nonatomic, copy) NSString *temperature;
@property (nonatomic, copy) NSString *date;

@property (nonatomic, copy) NSString *currentCity;


+ (instancetype)shareManager;

- (void)loadWeatherWitchArea:(NSString *)city success:(SuccessBlock)successBlock error:(ErrorBlock)errorBlock;

@end
